<!DOCTYPE html> 
<html> 
<head> 
<title>会员注册</title> 
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> 

<<<<<<< HEAD
<link href="css/index.css" rel="stylesheet">
<link href="css/register.css"rel="stylesheet" /> 

<script src="js/checkbox.js"type="text/javascript"></script> 

=======
<link href="favicon.ico" /> 
<link href="css/register.css"rel="stylesheet" /> 

<script src="js/checkbox.js"type="text/javascript"></script> 
<<<<<<< HEAD

=======
<script src="/js/jquery.js" type="text/javascript"></script>      
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
<script language=javascript>  
    //判断输入密码的类型  
    function CharMode(iN){  
        if (iN>=48 && iN <=57) //数字  
            return 1;  
        if (iN>=65 && iN <=90) //大写  
            return 2;  
        if (iN>=97 && iN <=122) //小写  
            return 4;  
        else  
            return 8;   
    }
    //bitTotal函数  
    //计算密码模式  
    function bitTotal(num){  
        modes=0;  
        for (i=0;i<4;i++){  
            if (num & 1) modes++;  
            num>>>=1;  
        }
        return modes;  
    }
    //返回强度级别  
    function checkStrong(sPW){  
        if (sPW.length<6)  
            return 0; //密码太短，不检测级别
        Modes=0;  
        for (i=0;i<sPW.length;i++){  
            //密码模式  
            Modes|=CharMode(sPW.charCodeAt(i));  
        }
        return bitTotal(Modes);  
    }
  
    //显示颜色  
    function pwStrength(pwd){  
        Dfault_color="#eeeeee";     //默认颜色
        L_color="#FF0000";      //低强度的颜色，且只显示在最左边的单元格中
        M_color="#FF9900";      //中等强度的颜色，且只显示在左边两个单元格中
        H_color="#33CC00";      //高强度的颜色，三个单元格都显示
        if (pwd==null||pwd==''){  
            Lcolor=Mcolor=Hcolor=Dfault_color;
        }  
        else{  
            S_level=checkStrong(pwd);  
            switch(S_level) {  
            case 0:  
                Lcolor=Mcolor=Hcolor=Dfault_color;
                break;
            case 1:  
                Lcolor=L_color;
                Mcolor=Hcolor=Dfault_color;
                break;  
            case 2:  
                Lcolor=L_color;
                Mcolor=M_color;  
                Hcolor=Dfault_color;  
                break;  
            default:  
                Lcolor=L_color;
                Mcolor=M_color;  
                Hcolor=H_color;  
        }  
    }  
    document.getElementById("strength_L").style.background=Lcolor;  
    document.getElementById("strength_M").style.background=Mcolor;  
    document.getElementById("strength_H").style.background=Hcolor;  
    return;
}
</script>
</head>


<body> 
<<<<<<< HEAD
<div class="content"> 
<div class="bloglist">
<ul>
<div> 
<form action="ltuserregister.php" method="post"> 
<table width="1000" border="0" cellpadding="2px" style="display:inline"> 
=======
<div> 
<form action="ltuserregister.php" method="post"> 
<<<<<<< HEAD
<table width="1000" border="0" cellpadding="2px" style="display:inline"> 
=======
<table width="250" border="0" cellpadding=2" style="display:inline"> 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
<tr> 
<td> 
会员注册 
</td> 
</tr> 
<tr> 
<td> 
<<<<<<< HEAD
=======
<<<<<<< HEAD
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
<table cellspacing="5px" cellpadding="5px"cellwidth="60px"> 
<tr> 
<tr> 
<td> 
用户名:
<<<<<<< HEAD
=======
=======
<table cellspacing="0" cellpadding="5px"> 
<tr> 
<tr> 
<td> 
用户名： 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
<td> 
<input type="text" name="IDNAME" placeholder="请输入账号" required/> 
</td> 
</tr> 
<tr> 
<td> 
<<<<<<< HEAD
昵称: 
=======
<<<<<<< HEAD
昵称: 
=======
昵称： 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
<td> 
<input type="text" name="NICKNAME" placeholder="请输入昵称" required/> 
</td> 
</tr> 
<tr> 
<td> 
<<<<<<< HEAD
密 码: 
=======
<<<<<<< HEAD
密 码: 
=======
密 码： 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
<td> 
<input type="password" placeholder="请输入密码" name="PASSWORD" required 
onKeyUp=pwStrength(this.value) onBlur=pwStrength(this.value)/> 
</td>
<<<<<<< HEAD
=======
<<<<<<< HEAD
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
<td>
<td width="70px" id="strength_L" bgcolor="#eeeeee">弱</td>  
<td width="70px" id="strength_M" bgcolor="#eeeeee">中</td>  
<td width="70px" id="strength_H" bgcolor="#eeeeee">强</td>
</td> 
</tr> 



</tr> 
<tr> 
<td> 
密码确认:
<<<<<<< HEAD
=======
=======
</tr> 
<tr align="left">
            <td width="40%" align="left">密码强度:</td>
            <td width="20%" id="strength_L" bgcolor="#eeeeee">弱</td>  
            <td width="20%" id="strength_M" bgcolor="#eeeeee">中</td>  
            <td width="20%" id="strength_H" bgcolor="#eeeeee">强</td> 
</td> 
</tr> 
<tr> 
<td> 
密码确认： 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
<td> 
<input type="password" placeholder="再次确认密码"required /> 
</td> 
</tr> 
<tr> 
<td> 
<<<<<<< HEAD
=======
<<<<<<< HEAD
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
生 日:
</td> 
<td> 
<input type="date" value="date"name="BIRTHDAY"/> 
<<<<<<< HEAD
=======
=======
生 日： 
</td> 
<td> 
<input type="date" /> 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
</tr> 
<tr> 
<td> 
<<<<<<< HEAD
性 别: 
=======
<<<<<<< HEAD
性 别: 
=======
性 别： 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
<td> 
<input type="radio" value="0" name="SEX"checked/>男 
<input type="radio" value="1"name="SEX"checked/>女 
</td> 
</tr> 
<tr> 
<td> 
<<<<<<< HEAD
邮 箱:
=======
<<<<<<< HEAD
邮 箱:
=======
邮 箱： 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
<td> 
<input type="email" placeholder="邮箱"name="EMAIL" required/> 
</td> 
</tr> 
<tr> 
<td> 
<<<<<<< HEAD
头像:
=======
<<<<<<< HEAD
头像:
=======
头像： 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
<td> 
<input type="file" accept="image/jpeg" onchange="show()"/><span><img src="" /></span> 
<script> 
function show(){ 
var file = document.getElementById("f").files[0]; 
var fileReader = new FileReader(); 
fileReader.readAsDataURL(file); 
fileReader.onload = function(){ 
document.getElementById("img").src = fileReader.result; 
} 
} 
</script> 
</td> 
</tr> 
<tr> 
<td> 
<<<<<<< HEAD
验证码:
=======
<<<<<<< HEAD
验证码:
=======
验证码： 
>>>>>>> a2bf45487f80f3ddd3719e35e2b11c10b74bfe0c
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
<td valign="middle"> 
<input type="text" size="11" maxlength="4" /> 
<span></span> 
</td> 
</tr> 
<tr> 
<td colspan="2"> 
<input type="submit" value="确定" /> 
<<<<<<< HEAD
<input type="button" onclick="index.html" value="取消" /> 

=======
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</td> 
</tr> 
</table> 
</td> 
</tr> 
</table> 
</form> 
<<<<<<< HEAD

    
    
    </ul>
    </div>
=======
>>>>>>> 366a5e1e5ad8eaf5d55c53e2a1ff18d8db5ea4ed
</div> 

</body> 
</html> 